//
//  XZ_Factory.h
//  Project_Demo
//
//  Created by Leon on 2018/7/1.
//  Copyright © 2018年 caoxiaozhu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "XZ_Operation.h"

typedef NS_ENUM(NSInteger, Xz_product) {
    XZ_ProductTypeMantou,
    XZ_ProductTypeBaozi,
};

@interface XZ_Factory : NSObject

//工厂（Factory）角色：接受客户端的请求，通过请求负责创建相应的产品对象。
+(XZ_Operation*)operationBreakFast:(Xz_product)breakfastType;

@end
